#include"dao_QtSvg.h"

void Dao_PutQListP_QAbstractButton( DaoContext *ctx, const QListP_QAbstractButton & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QAbstractButton_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QAbstractButton( DaoList *dlist, QListP_QAbstractButton & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QAbstractButton_Typer ) ) continue;
		qlist.append( (QAbstractButton*) DValue_CastCData( & it, dao_QAbstractButton_Typer ) );
	}
}

void Dao_PutQListP_QAction( DaoContext *ctx, const QListP_QAction & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QAction_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QAction( DaoList *dlist, QListP_QAction & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QAction_Typer ) ) continue;
		qlist.append( (QAction*) DValue_CastCData( & it, dao_QAction_Typer ) );
	}
}

void Dao_PutQListP_QDockWidget( DaoContext *ctx, const QListP_QDockWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QDockWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QDockWidget( DaoList *dlist, QListP_QDockWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QDockWidget_Typer ) ) continue;
		qlist.append( (QDockWidget*) DValue_CastCData( & it, dao_QDockWidget_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsItem( DaoContext *ctx, const QListP_QGraphicsItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsItem( DaoList *dlist, QListP_QGraphicsItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsItem_Typer ) ) continue;
		qlist.append( (QGraphicsItem*) DValue_CastCData( & it, dao_QGraphicsItem_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsView( DaoContext *ctx, const QListP_QGraphicsView & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsView_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsView( DaoList *dlist, QListP_QGraphicsView & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsView_Typer ) ) continue;
		qlist.append( (QGraphicsView*) DValue_CastCData( & it, dao_QGraphicsView_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsWidget( DaoContext *ctx, const QListP_QGraphicsWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsWidget( DaoList *dlist, QListP_QGraphicsWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsWidget_Typer ) ) continue;
		qlist.append( (QGraphicsWidget*) DValue_CastCData( & it, dao_QGraphicsWidget_Typer ) );
	}
}

void Dao_PutQListP_QListWidgetItem( DaoContext *ctx, const QListP_QListWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QListWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QListWidgetItem( DaoList *dlist, QListP_QListWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QListWidgetItem_Typer ) ) continue;
		qlist.append( (QListWidgetItem*) DValue_CastCData( & it, dao_QListWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QMdiSubWindow( DaoContext *ctx, const QListP_QMdiSubWindow & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QMdiSubWindow_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QMdiSubWindow( DaoList *dlist, QListP_QMdiSubWindow & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QMdiSubWindow_Typer ) ) continue;
		qlist.append( (QMdiSubWindow*) DValue_CastCData( & it, dao_QMdiSubWindow_Typer ) );
	}
}

void Dao_PutQListP_QStandardItem( DaoContext *ctx, const QListP_QStandardItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QStandardItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QStandardItem( DaoList *dlist, QListP_QStandardItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QStandardItem_Typer ) ) continue;
		qlist.append( (QStandardItem*) DValue_CastCData( & it, dao_QStandardItem_Typer ) );
	}
}

void Dao_PutQListP_QTableWidgetItem( DaoContext *ctx, const QListP_QTableWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTableWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTableWidgetItem( DaoList *dlist, QListP_QTableWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTableWidgetItem_Typer ) ) continue;
		qlist.append( (QTableWidgetItem*) DValue_CastCData( & it, dao_QTableWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QTextFrame( DaoContext *ctx, const QListP_QTextFrame & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTextFrame_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTextFrame( DaoList *dlist, QListP_QTextFrame & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTextFrame_Typer ) ) continue;
		qlist.append( (QTextFrame*) DValue_CastCData( & it, dao_QTextFrame_Typer ) );
	}
}

void Dao_PutQListP_QTreeWidgetItem( DaoContext *ctx, const QListP_QTreeWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTreeWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTreeWidgetItem( DaoList *dlist, QListP_QTreeWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTreeWidgetItem_Typer ) ) continue;
		qlist.append( (QTreeWidgetItem*) DValue_CastCData( & it, dao_QTreeWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QUndoStack( DaoContext *ctx, const QListP_QUndoStack & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QUndoStack_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QUndoStack( DaoList *dlist, QListP_QUndoStack & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QUndoStack_Typer ) ) continue;
		qlist.append( (QUndoStack*) DValue_CastCData( & it, dao_QUndoStack_Typer ) );
	}
}

void Dao_PutQListP_QWidget( DaoContext *ctx, const QListP_QWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QWidget( DaoList *dlist, QListP_QWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QWidget_Typer ) ) continue;
		qlist.append( (QWidget*) DValue_CastCData( & it, dao_QWidget_Typer ) );
	}
}

void Dao_PutQList_QPolygonF( DaoContext *ctx, const QList_QPolygonF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPolygonF_Typer, new QPolygonF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQList_QPolygonF( DaoList *dlist, QList_QPolygonF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPolygonF_Typer ) ) continue;
		qlist.append( *(QPolygonF*) DValue_CastCData( & it, dao_QPolygonF_Typer ) );
	}
}

void Dao_PutQVector_QColor( DaoContext *ctx, const QVector_QColor & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QColor_Typer, new QColor( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QColor( DaoList *dlist, QVector_QColor & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QColor_Typer ) ) continue;
		qlist.append( *(QColor*) DValue_CastCData( & it, dao_QColor_Typer ) );
	}
}

void Dao_PutQVector_QLine( DaoContext *ctx, const QVector_QLine & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QLine_Typer, new QLine( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QLine( DaoList *dlist, QVector_QLine & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QLine_Typer ) ) continue;
		qlist.append( *(QLine*) DValue_CastCData( & it, dao_QLine_Typer ) );
	}
}

void Dao_PutQVector_QLineF( DaoContext *ctx, const QVector_QLineF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QLineF_Typer, new QLineF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QLineF( DaoList *dlist, QVector_QLineF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QLineF_Typer ) ) continue;
		qlist.append( *(QLineF*) DValue_CastCData( & it, dao_QLineF_Typer ) );
	}
}

void Dao_PutQVector_QPoint( DaoContext *ctx, const QVector_QPoint & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPoint_Typer, new QPoint( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QPoint( DaoList *dlist, QVector_QPoint & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPoint_Typer ) ) continue;
		qlist.append( *(QPoint*) DValue_CastCData( & it, dao_QPoint_Typer ) );
	}
}

void Dao_PutQVector_QPointF( DaoContext *ctx, const QVector_QPointF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPointF_Typer, new QPointF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QPointF( DaoList *dlist, QVector_QPointF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPointF_Typer ) ) continue;
		qlist.append( *(QPointF*) DValue_CastCData( & it, dao_QPointF_Typer ) );
	}
}

void Dao_PutQVector_QRect( DaoContext *ctx, const QVector_QRect & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QRect_Typer, new QRect( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QRect( DaoList *dlist, QVector_QRect & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QRect_Typer ) ) continue;
		qlist.append( *(QRect*) DValue_CastCData( & it, dao_QRect_Typer ) );
	}
}

void Dao_PutQVector_QRectF( DaoContext *ctx, const QVector_QRectF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QRectF_Typer, new QRectF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QRectF( DaoList *dlist, QVector_QRectF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QRectF_Typer ) ) continue;
		qlist.append( *(QRectF*) DValue_CastCData( & it, dao_QRectF_Typer ) );
	}
}

#ifdef __cplusplus
extern "C"{
#endif

/*  qgraphicssvgitem.h */


static DaoNumItem dao_QGraphicsSvgItem_Nums[] =
{
  { "Type", DAO_INTEGER, QGraphicsSvgItem::Type },
  { NULL, 0, 0 }
};
static void dao_QGraphicsSvgItem_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_QGraphicsSvgItem_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_boundingRect__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_boundingRect( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_elementId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_isCachingEnabled( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_maximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_paint__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_paint( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_renderer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_setCachingEnabled( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_setElementId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_setMaximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_setSharedRenderer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_type__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QGraphicsSvgItem_type( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QGraphicsSvgItem_Meths[] = 
{
  { dao_QGraphicsSvgItem_qobject_cast, "qobject_cast( object : QObject )=>QGraphicsSvgItem" },
  { dao_QGraphicsSvgItem_QGraphicsSvgItem, "QGraphicsSvgItem( parentItem : QGraphicsItem|null=null )=>QGraphicsSvgItem" },
  { dao_QGraphicsSvgItem_QGraphicsSvgItem_dao_2, "QGraphicsSvgItem( fileName : string, parentItem : QGraphicsItem|null=null )=>QGraphicsSvgItem" },
  { dao_QGraphicsSvgItem_boundingRect, "boundingRect( self : QGraphicsSvgItem )=>QRectF" },
  { dao_QGraphicsSvgItem_elementId, "elementId( self : QGraphicsSvgItem )=>string" },
  { dao_QGraphicsSvgItem_isCachingEnabled, "isCachingEnabled( self : QGraphicsSvgItem )=>int" },
  { dao_QGraphicsSvgItem_maximumCacheSize, "maximumCacheSize( self : QGraphicsSvgItem )=>QSize" },
  { dao_QGraphicsSvgItem_paint, "paint( self : QGraphicsSvgItem, painter : QPainter, option : QStyleOptionGraphicsItem, widget : QWidget|null=null )" },
  { dao_QGraphicsSvgItem_renderer, "renderer( self : QGraphicsSvgItem )=>QSvgRenderer" },
  { dao_QGraphicsSvgItem_setCachingEnabled, "setCachingEnabled( self : QGraphicsSvgItem, _cp0 : int )" },
  { dao_QGraphicsSvgItem_setElementId, "setElementId( self : QGraphicsSvgItem, id : string )" },
  { dao_QGraphicsSvgItem_setMaximumCacheSize, "setMaximumCacheSize( self : QGraphicsSvgItem, size : QSize )" },
  { dao_QGraphicsSvgItem_setSharedRenderer, "setSharedRenderer( self : QGraphicsSvgItem, renderer : QSvgRenderer )" },
  { dao_QGraphicsSvgItem_type, "type( self : QGraphicsSvgItem )=>int" },
  { NULL, NULL }
};
static void Dao_QGraphicsSvgItem_Delete( void *self )
{
	delete (QGraphicsSvgItem*) self;
}
void* dao_cast_QGraphicsSvgItem_to_QGraphicsObject( void *data )
{
	return (QGraphicsObject*)(QGraphicsSvgItem*)data;
}

static DaoTypeBase QGraphicsSvgItem_Typer = 
{ "QGraphicsSvgItem", NULL, 
  dao_QGraphicsSvgItem_Nums,
  dao_QGraphicsSvgItem_Meths, 
  { dao_QGraphicsObject_Typer, 0 },
  { dao_cast_QGraphicsSvgItem_to_QGraphicsObject,0 },
  Dao_QGraphicsSvgItem_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTSVG *dao_QGraphicsSvgItem_Typer = & QGraphicsSvgItem_Typer;
static void dao_QGraphicsSvgItem_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QGraphicsSvgItem *to2 = qobject_cast<QGraphicsSvgItem*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QGraphicsSvgItem_Typer );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsItem* parentItem= (QGraphicsItem*) DValue_CastCData( _p[0], dao_QGraphicsItem_Typer );
	DaoCxx_QGraphicsSvgItem *_self = DaoCxx_QGraphicsSvgItem_New( parentItem );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_QGraphicsSvgItem_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString fileName( _mbs0 );
  QGraphicsItem* parentItem= (QGraphicsItem*) DValue_CastCData( _p[1], dao_QGraphicsItem_Typer );
	DaoCxx_QGraphicsSvgItem *_self = DaoCxx_QGraphicsSvgItem_New( fileName, parentItem );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_boundingRect__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QRectF _boundingRect = self->QGraphicsSvgItem::boundingRect(  );
  DaoContext_PutCData( _ctx, (void*)new QRectF( _boundingRect ), dao_QRectF_Typer );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_boundingRect( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QGraphicsSvgItem_boundingRect__QGraphicsSvgItem( _ctx, _p, _n );
    return;
  }
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QRectF _boundingRect = self->boundingRect(  );
  DaoContext_PutCData( _ctx, (void*)new QRectF( _boundingRect ), dao_QRectF_Typer );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_elementId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QString _elementId = self->QGraphicsSvgItem::elementId(  );
  DaoContext_PutMBString( _ctx, _elementId.toLocal8Bit().data() );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_isCachingEnabled( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  bool _isCachingEnabled = self->QGraphicsSvgItem::isCachingEnabled(  );
  DaoContext_PutInteger( _ctx, (int) _isCachingEnabled );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_maximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QSize _maximumCacheSize = self->QGraphicsSvgItem::maximumCacheSize(  );
  DaoContext_PutCData( _ctx, (void*)new QSize( _maximumCacheSize ), dao_QSize_Typer );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_paint__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QPainter* painter= (QPainter*) DValue_CastCData( _p[1], dao_QPainter_Typer );
  QStyleOptionGraphicsItem* option= (QStyleOptionGraphicsItem*) DValue_CastCData( _p[2], dao_QStyleOptionGraphicsItem_Typer );
  QWidget* widget= (QWidget*) DValue_CastCData( _p[3], dao_QWidget_Typer );
  self->QGraphicsSvgItem::paint( painter, option, widget );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_paint( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QGraphicsSvgItem_paint__QGraphicsSvgItem( _ctx, _p, _n );
    return;
  }
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QPainter* painter= (QPainter*) DValue_CastCData( _p[1], dao_QPainter_Typer );
  QStyleOptionGraphicsItem* option= (QStyleOptionGraphicsItem*) DValue_CastCData( _p[2], dao_QStyleOptionGraphicsItem_Typer );
  QWidget* widget= (QWidget*) DValue_CastCData( _p[3], dao_QWidget_Typer );
  self->paint( painter, option, widget );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_renderer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QSvgRenderer* _renderer = self->QGraphicsSvgItem::renderer(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _renderer );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QSvgRenderer_InitSS( (QSvgRenderer*) _renderer );
    DaoContext_WrapCData( _ctx, (void*) _renderer, dao_QSvgRenderer_Typer );
  }
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_setCachingEnabled( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  bool _cp0= (bool) _p[1]->v.i;
  self->QGraphicsSvgItem::setCachingEnabled( _cp0 );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_setElementId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString id( _mbs1 );
  self->QGraphicsSvgItem::setElementId( id );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_setMaximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QSize* size= (QSize*) DValue_CastCData( _p[1], dao_QSize_Typer );
  self->QGraphicsSvgItem::setMaximumCacheSize( *size );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_setSharedRenderer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  QSvgRenderer* renderer= (QSvgRenderer*) DValue_CastCData( _p[1], dao_QSvgRenderer_Typer );
  self->QGraphicsSvgItem::setSharedRenderer( renderer );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_type__QGraphicsSvgItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  int _type = self->QGraphicsSvgItem::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}
/* qgraphicssvgitem.h */
static void dao_QGraphicsSvgItem_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QGraphicsSvgItem_type__QGraphicsSvgItem( _ctx, _p, _n );
    return;
  }
  QGraphicsSvgItem* self= (QGraphicsSvgItem*) DValue_CastCData( _p[0], dao_QGraphicsSvgItem_Typer );
  int _type = self->type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}

/*   */


static DaoNumItem dao_QPixmapCache_KeyData_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QPixmapCache_KeyData_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QPixmapCache_KeyData_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QPixmapCache_KeyData_Typer = 
{ "QPixmapCache_KeyData", NULL, 
  dao_QPixmapCache_KeyData_Nums,
  dao_QPixmapCache_KeyData_Meths, 
  { 0 },
  { 0 },
  Dao_QPixmapCache_KeyData_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTSVG *dao_QPixmapCache_KeyData_Typer = & QPixmapCache_KeyData_Typer;

/*  qsvggenerator.h */


static DaoNumItem dao_QSvgGenerator_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSvgGenerator_QSvgGenerator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_description( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_fileName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_metric( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_outputDevice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_paintEngine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_resolution( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setDescription( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setFileName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setOutputDevice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setResolution( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setTitle( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setViewBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_setViewBox_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_size( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_title( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_viewBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgGenerator_viewBoxF( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSvgGenerator_Meths[] = 
{
  { dao_QSvgGenerator_QSvgGenerator, "QSvgGenerator(  )=>QSvgGenerator" },
  { dao_QSvgGenerator_description, "description( self : QSvgGenerator )=>string" },
  { dao_QSvgGenerator_fileName, "fileName( self : QSvgGenerator )=>string" },
  { dao_QSvgGenerator_metric, "metric( self : QSvgGenerator, metric : int )=>int" },
  { dao_QSvgGenerator_outputDevice, "outputDevice( self : QSvgGenerator )=>QIODevice" },
  { dao_QSvgGenerator_paintEngine, "paintEngine( self : QSvgGenerator )=>QPaintEngine" },
  { dao_QSvgGenerator_resolution, "resolution( self : QSvgGenerator )=>int" },
  { dao_QSvgGenerator_setDescription, "setDescription( self : QSvgGenerator, description : string )" },
  { dao_QSvgGenerator_setFileName, "setFileName( self : QSvgGenerator, fileName : string )" },
  { dao_QSvgGenerator_setOutputDevice, "setOutputDevice( self : QSvgGenerator, outputDevice : QIODevice )" },
  { dao_QSvgGenerator_setResolution, "setResolution( self : QSvgGenerator, dpi : int )" },
  { dao_QSvgGenerator_setSize, "setSize( self : QSvgGenerator, size : QSize )" },
  { dao_QSvgGenerator_setTitle, "setTitle( self : QSvgGenerator, title : string )" },
  { dao_QSvgGenerator_setViewBox, "setViewBox( self : QSvgGenerator, viewBox : QRect )" },
  { dao_QSvgGenerator_setViewBox_dao_2, "setViewBox( self : QSvgGenerator, viewBox : QRectF )" },
  { dao_QSvgGenerator_size, "size( self : QSvgGenerator )=>QSize" },
  { dao_QSvgGenerator_title, "title( self : QSvgGenerator )=>string" },
  { dao_QSvgGenerator_viewBox, "viewBox( self : QSvgGenerator )=>QRect" },
  { dao_QSvgGenerator_viewBoxF, "viewBoxF( self : QSvgGenerator )=>QRectF" },
  { NULL, NULL }
};
static void Dao_QSvgGenerator_Delete( void *self )
{
	delete (QSvgGenerator*) self;
}
void* dao_cast_QSvgGenerator_to_QPaintDevice( void *data )
{
	return (QPaintDevice*)(QSvgGenerator*)data;
}

static DaoTypeBase QSvgGenerator_Typer = 
{ "QSvgGenerator", NULL, 
  dao_QSvgGenerator_Nums,
  dao_QSvgGenerator_Meths, 
  { dao_QPaintDevice_Typer, 0 },
  { dao_cast_QSvgGenerator_to_QPaintDevice,0 },
  Dao_QSvgGenerator_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTSVG *dao_QSvgGenerator_Typer = & QSvgGenerator_Typer;
/* qsvggenerator.h */
static void dao_QSvgGenerator_QSvgGenerator( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QSvgGenerator *_self = DaoCxx_QSvgGenerator_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_description( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QString _description = self->QSvgGenerator::description(  );
  DaoContext_PutMBString( _ctx, _description.toLocal8Bit().data() );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_fileName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QString _fileName = self->QSvgGenerator::fileName(  );
  DaoContext_PutMBString( _ctx, _fileName.toLocal8Bit().data() );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_metric( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSvgGenerator *self = (DaoCxx_QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QPaintDevice::PaintDeviceMetric metric= (QPaintDevice::PaintDeviceMetric) _p[1]->v.i;
  int _metric = self->DaoWrap_metric( metric );
  DaoContext_PutInteger( _ctx, (int) _metric );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_outputDevice( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QIODevice* _outputDevice = self->QSvgGenerator::outputDevice(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _outputDevice );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _outputDevice );
    DaoContext_WrapCData( _ctx, (void*) _outputDevice, dao_QIODevice_Typer );
  }
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_paintEngine( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSvgGenerator *self = (DaoCxx_QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QPaintEngine* _paintEngine = self->DaoWrap_paintEngine(  );
  DaoContext_WrapCData( _ctx, (void*) _paintEngine, dao_QPaintEngine_Typer );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_resolution( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  int _resolution = self->QSvgGenerator::resolution(  );
  DaoContext_PutInteger( _ctx, (int) _resolution );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setDescription( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString description( _mbs1 );
  self->QSvgGenerator::setDescription( description );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setFileName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  self->QSvgGenerator::setFileName( fileName );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setOutputDevice( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QIODevice* outputDevice= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  self->QSvgGenerator::setOutputDevice( outputDevice );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setResolution( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  int dpi= (int) _p[1]->v.i;
  self->QSvgGenerator::setResolution( dpi );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QSize* size= (QSize*) DValue_CastCData( _p[1], dao_QSize_Typer );
  self->QSvgGenerator::setSize( *size );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setTitle( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString title( _mbs1 );
  self->QSvgGenerator::setTitle( title );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setViewBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QRect* viewBox= (QRect*) DValue_CastCData( _p[1], dao_QRect_Typer );
  self->QSvgGenerator::setViewBox( *viewBox );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_setViewBox_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QRectF* viewBox= (QRectF*) DValue_CastCData( _p[1], dao_QRectF_Typer );
  self->QSvgGenerator::setViewBox( *viewBox );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QSize _size = self->QSvgGenerator::size(  );
  DaoContext_PutCData( _ctx, (void*)new QSize( _size ), dao_QSize_Typer );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_title( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QString _title = self->QSvgGenerator::title(  );
  DaoContext_PutMBString( _ctx, _title.toLocal8Bit().data() );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_viewBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QRect _viewBox = self->QSvgGenerator::viewBox(  );
  DaoContext_PutCData( _ctx, (void*)new QRect( _viewBox ), dao_QRect_Typer );
}
/* qsvggenerator.h */
static void dao_QSvgGenerator_viewBoxF( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgGenerator* self= (QSvgGenerator*) DValue_CastCData( _p[0], dao_QSvgGenerator_Typer );
  QRectF _viewBoxF = self->QSvgGenerator::viewBoxF(  );
  DaoContext_PutCData( _ctx, (void*)new QRectF( _viewBoxF ), dao_QRectF_Typer );
}

/*  qsvgrenderer.h */


static DaoNumItem dao_QSvgRenderer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSvgRenderer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_QSvgRenderer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_QSvgRenderer_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_QSvgRenderer_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_QSvgRenderer_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_animated( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_animationDuration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_boundsOnElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_currentFrame( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_defaultSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_elementExists( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_framesPerSecond( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_load_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_load_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_matrixForElement( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_render( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_render_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_render_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_setCurrentFrame( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_setFramesPerSecond( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_setViewBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_setViewBox_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_viewBox( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgRenderer_viewBoxF( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSvgRenderer_Meths[] = 
{
  { dao_QSvgRenderer_qobject_cast, "qobject_cast( object : QObject )=>QSvgRenderer" },
  { dao_QSvgRenderer_QSvgRenderer, "QSvgRenderer( parent : QObject|null=null )=>QSvgRenderer" },
  { dao_QSvgRenderer_QSvgRenderer_dao_4, "QSvgRenderer( contents : QXmlStreamReader, parent : QObject|null=null )=>QSvgRenderer" },
  { dao_QSvgRenderer_QSvgRenderer_dao_3, "QSvgRenderer( contents : string, parent : QObject|null=null )=>QSvgRenderer" },
  { dao_QSvgRenderer_QSvgRenderer_dao_2, "QSvgRenderer( filename : string, parent : QObject|null=null )=>QSvgRenderer" },
  { dao_QSvgRenderer_animated, "animated( self : QSvgRenderer )=>int" },
  { dao_QSvgRenderer_animationDuration, "animationDuration( self : QSvgRenderer )=>int" },
  { dao_QSvgRenderer_boundsOnElement, "boundsOnElement( self : QSvgRenderer, id : string )=>QRectF" },
  { dao_QSvgRenderer_currentFrame, "currentFrame( self : QSvgRenderer )=>int" },
  { dao_QSvgRenderer_defaultSize, "defaultSize( self : QSvgRenderer )=>QSize" },
  { dao_QSvgRenderer_elementExists, "elementExists( self : QSvgRenderer, id : string )=>int" },
  { dao_QSvgRenderer_framesPerSecond, "framesPerSecond( self : QSvgRenderer )=>int" },
  { dao_QSvgRenderer_isValid, "isValid( self : QSvgRenderer )=>int" },
  { dao_QSvgRenderer_load_dao_3, "load( self : QSvgRenderer, contents : QXmlStreamReader )=>int" },
  { dao_QSvgRenderer_load_dao_2, "load( self : QSvgRenderer, contents : string )=>int" },
  { dao_QSvgRenderer_load, "load( self : QSvgRenderer, filename : string )=>int" },
  { dao_QSvgRenderer_matrixForElement, "matrixForElement( self : QSvgRenderer, id : string )=>QMatrix" },
  { dao_QSvgRenderer_render, "render( self : QSvgRenderer, p : QPainter )" },
  { dao_QSvgRenderer_render_dao_2, "render( self : QSvgRenderer, p : QPainter, bounds : QRectF )" },
  { dao_QSvgRenderer_render_dao_3, "render( self : QSvgRenderer, p : QPainter, elementId : string, bounds : QRectF|null=null )" },
  { dao_QSvgRenderer_setCurrentFrame, "setCurrentFrame( self : QSvgRenderer, _cp0 : int )" },
  { dao_QSvgRenderer_setFramesPerSecond, "setFramesPerSecond( self : QSvgRenderer, num : int )" },
  { dao_QSvgRenderer_setViewBox, "setViewBox( self : QSvgRenderer, viewbox : QRect )" },
  { dao_QSvgRenderer_setViewBox_dao_2, "setViewBox( self : QSvgRenderer, viewbox : QRectF )" },
  { dao_QSvgRenderer_viewBox, "viewBox( self : QSvgRenderer )=>QRect" },
  { dao_QSvgRenderer_viewBoxF, "viewBoxF( self : QSvgRenderer )=>QRectF" },
  { NULL, NULL }
};
static void Dao_QSvgRenderer_Delete( void *self )
{
	delete (QSvgRenderer*) self;
}
void* dao_cast_QSvgRenderer_to_QObject( void *data )
{
	return (QObject*)(QSvgRenderer*)data;
}

static DaoTypeBase QSvgRenderer_Typer = 
{ "QSvgRenderer", NULL, 
  dao_QSvgRenderer_Nums,
  dao_QSvgRenderer_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QSvgRenderer_to_QObject,0 },
  Dao_QSvgRenderer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTSVG *dao_QSvgRenderer_Typer = & QSvgRenderer_Typer;
static void dao_QSvgRenderer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QSvgRenderer *to2 = qobject_cast<QSvgRenderer*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QSvgRenderer_Typer );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_QSvgRenderer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QSvgRenderer *_self = DaoCxx_QSvgRenderer_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_QSvgRenderer_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QXmlStreamReader* contents= (QXmlStreamReader*) DValue_CastCData( _p[0], dao_QXmlStreamReader_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QSvgRenderer *_self = DaoCxx_QSvgRenderer_New( contents, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_QSvgRenderer_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QByteArray contents( _mbs0 );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QSvgRenderer *_self = DaoCxx_QSvgRenderer_New( contents, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_QSvgRenderer_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString filename( _mbs0 );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QSvgRenderer *_self = DaoCxx_QSvgRenderer_New( filename, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_animated( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  bool _animated = self->QSvgRenderer::animated(  );
  DaoContext_PutInteger( _ctx, (int) _animated );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_animationDuration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  int _animationDuration = self->QSvgRenderer::animationDuration(  );
  DaoContext_PutInteger( _ctx, (int) _animationDuration );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_boundsOnElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString id( _mbs1 );
  QRectF _boundsOnElement = self->QSvgRenderer::boundsOnElement( id );
  DaoContext_PutCData( _ctx, (void*)new QRectF( _boundsOnElement ), dao_QRectF_Typer );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_currentFrame( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  int _currentFrame = self->QSvgRenderer::currentFrame(  );
  DaoContext_PutInteger( _ctx, (int) _currentFrame );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_defaultSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QSize _defaultSize = self->QSvgRenderer::defaultSize(  );
  DaoContext_PutCData( _ctx, (void*)new QSize( _defaultSize ), dao_QSize_Typer );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_elementExists( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString id( _mbs1 );
  bool _elementExists = self->QSvgRenderer::elementExists( id );
  DaoContext_PutInteger( _ctx, (int) _elementExists );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_framesPerSecond( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  int _framesPerSecond = self->QSvgRenderer::framesPerSecond(  );
  DaoContext_PutInteger( _ctx, (int) _framesPerSecond );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  bool _isValid = self->QSvgRenderer::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_load_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QXmlStreamReader* contents= (QXmlStreamReader*) DValue_CastCData( _p[1], dao_QXmlStreamReader_Typer );
  bool _load = self->QSvgRenderer::load( contents );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_load_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray contents( _mbs1 );
  bool _load = self->QSvgRenderer::load( contents );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filename( _mbs1 );
  bool _load = self->QSvgRenderer::load( filename );
  DaoContext_PutInteger( _ctx, (int) _load );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_matrixForElement( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString id( _mbs1 );
  QMatrix _matrixForElement = self->QSvgRenderer::matrixForElement( id );
  DaoContext_PutCData( _ctx, (void*)new QMatrix( _matrixForElement ), dao_QMatrix_Typer );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_render( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QPainter* p= (QPainter*) DValue_CastCData( _p[1], dao_QPainter_Typer );
  self->QSvgRenderer::render( p );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_render_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QPainter* p= (QPainter*) DValue_CastCData( _p[1], dao_QPainter_Typer );
  QRectF* bounds= (QRectF*) DValue_CastCData( _p[2], dao_QRectF_Typer );
  self->QSvgRenderer::render( p, *bounds );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_render_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QPainter* p= (QPainter*) DValue_CastCData( _p[1], dao_QPainter_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString elementId( _mbs2 );
  QRectF* bounds= (QRectF*) DValue_CastCData( _p[3], dao_QRectF_Typer );
  if(_n<=3) self->QSvgRenderer::render( p, elementId );
  else self->QSvgRenderer::render( p, elementId, *bounds );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_setCurrentFrame( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  int _cp0= (int) _p[1]->v.i;
  self->QSvgRenderer::setCurrentFrame( _cp0 );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_setFramesPerSecond( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  int num= (int) _p[1]->v.i;
  self->QSvgRenderer::setFramesPerSecond( num );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_setViewBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QRect* viewbox= (QRect*) DValue_CastCData( _p[1], dao_QRect_Typer );
  self->QSvgRenderer::setViewBox( *viewbox );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_setViewBox_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QRectF* viewbox= (QRectF*) DValue_CastCData( _p[1], dao_QRectF_Typer );
  self->QSvgRenderer::setViewBox( *viewbox );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_viewBox( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QRect _viewBox = self->QSvgRenderer::viewBox(  );
  DaoContext_PutCData( _ctx, (void*)new QRect( _viewBox ), dao_QRect_Typer );
}
/* qsvgrenderer.h */
static void dao_QSvgRenderer_viewBoxF( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgRenderer* self= (QSvgRenderer*) DValue_CastCData( _p[0], dao_QSvgRenderer_Typer );
  QRectF _viewBoxF = self->QSvgRenderer::viewBoxF(  );
  DaoContext_PutCData( _ctx, (void*)new QRectF( _viewBoxF ), dao_QRectF_Typer );
}

/*  qsvgwidget.h */


static DaoNumItem dao_QSvgWidget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSvgWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_QSvgWidget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_QSvgWidget_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_load_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_load( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_paintEvent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_renderer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSvgWidget_sizeHint( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSvgWidget_Meths[] = 
{
  { dao_QSvgWidget_qobject_cast, "qobject_cast( object : QObject )=>QSvgWidget" },
  { dao_QSvgWidget_QSvgWidget, "QSvgWidget( parent : QWidget|null=null )=>QSvgWidget" },
  { dao_QSvgWidget_QSvgWidget_dao_2, "QSvgWidget( file : string, parent : QWidget|null=null )=>QSvgWidget" },
  { dao_QSvgWidget_load_dao_2, "load( self : QSvgWidget, contents : string )" },
  { dao_QSvgWidget_load, "load( self : QSvgWidget, file : string )" },
  { dao_QSvgWidget_paintEvent, "paintEvent( self : QSvgWidget, event : QPaintEvent )" },
  { dao_QSvgWidget_renderer, "renderer( self : QSvgWidget )=>QSvgRenderer" },
  { dao_QSvgWidget_sizeHint, "sizeHint( self : QSvgWidget )=>QSize" },
  { NULL, NULL }
};
static void Dao_QSvgWidget_Delete( void *self )
{
	delete (QSvgWidget*) self;
}
void* dao_cast_QSvgWidget_to_QWidget( void *data )
{
	return (QWidget*)(QSvgWidget*)data;
}

static DaoTypeBase QSvgWidget_Typer = 
{ "QSvgWidget", NULL, 
  dao_QSvgWidget_Nums,
  dao_QSvgWidget_Meths, 
  { dao_QWidget_Typer, 0 },
  { dao_cast_QSvgWidget_to_QWidget,0 },
  Dao_QSvgWidget_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTSVG *dao_QSvgWidget_Typer = & QSvgWidget_Typer;
static void dao_QSvgWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QSvgWidget *to2 = qobject_cast<QSvgWidget*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QSvgWidget_Typer );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_QSvgWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QWidget* parent= (QWidget*) DValue_CastCData( _p[0], dao_QWidget_Typer );
	DaoCxx_QSvgWidget *_self = DaoCxx_QSvgWidget_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_QSvgWidget_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString file( _mbs0 );
  QWidget* parent= (QWidget*) DValue_CastCData( _p[1], dao_QWidget_Typer );
	DaoCxx_QSvgWidget *_self = DaoCxx_QSvgWidget_New( file, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_load_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgWidget* self= (QSvgWidget*) DValue_CastCData( _p[0], dao_QSvgWidget_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray contents( _mbs1 );
  self->QSvgWidget::load( contents );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_load( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgWidget* self= (QSvgWidget*) DValue_CastCData( _p[0], dao_QSvgWidget_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString file( _mbs1 );
  self->QSvgWidget::load( file );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_paintEvent( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSvgWidget *self = (DaoCxx_QSvgWidget*) DValue_CastCData( _p[0], dao_QSvgWidget_Typer );
  QPaintEvent* event= (QPaintEvent*) DValue_CastCData( _p[1], dao_QPaintEvent_Typer );
  self->DaoWrap_paintEvent( event );
}
/* qsvgwidget.h */
static void dao_QSvgWidget_renderer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgWidget* self= (QSvgWidget*) DValue_CastCData( _p[0], dao_QSvgWidget_Typer );
  QSvgRenderer* _renderer = self->QSvgWidget::renderer(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _renderer );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QSvgRenderer_InitSS( (QSvgRenderer*) _renderer );
    DaoContext_WrapCData( _ctx, (void*) _renderer, dao_QSvgRenderer_Typer );
  }
}
/* qsvgwidget.h */
static void dao_QSvgWidget_sizeHint( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSvgWidget* self= (QSvgWidget*) DValue_CastCData( _p[0], dao_QSvgWidget_Typer );
  QSize _sizeHint = self->QSvgWidget::sizeHint(  );
  DaoContext_PutCData( _ctx, (void*)new QSize( _sizeHint ), dao_QSize_Typer );
}

#ifdef __cplusplus
}
#endif

